using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMM.Core.Domain;
using ServiceStack.ServiceHost;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;


namespace MMM.Services.Type
{
    [Serializable]
    [Route("/api/permissioninfo")]
    public class PermissionInfo : EntityBase<PermissionInfo>
    {
        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(50)]
        [Required]
        public String Name { get; set; }
        /// <summary>
        /// 权限
        /// </summary>
        [Required]
        public int Value { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int Index { get; set; }

    }
}
